package model.path;

import java.util.ArrayList;
import java.util.Iterator;

public class Path extends ArrayList<PathStopPoint>
{
	private static final long serialVersionUID = 3206156769210355251L;

	public String toCSV() 
	{
		String str = "";
		
		for(Iterator<PathStopPoint> it = this.iterator(); it.hasNext();)
		{
			PathStopPoint currentPathPosition = it.next();
			str += currentPathPosition.toCSV();
			str += "\n";
		}
		
		
		return str;
				
	}
}
